/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package toolsKit.DAO;

import java.io.File;
import java.util.List;
import javaapplication5.model.Contact;
import javaapplication5.model.SimpleContact;

/**
 *
 * @author mathieubakrim
 */
public interface ContactDao {
    List<Contact> findAllContacts();
    
    //Contact findContactById(Integer id);
    
    List<Contact> findContactByLastName(String lastName);
    
    void writeContacts(List<Contact> contacts, File file);
}
